import requests
import re
import json
import time
from requests.exceptions import RequestException


headers = {
        'User-Agent' :'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)'
                      ' Chrome/68.0.3423.2 Safari/537.36'
        }

url = 'https://www.amazon.cn/dp/B07746N2J9/ref=lp_1536596071_1_1?s=amazon-devices&ie=UTF8&qid=1552987644&sr=1-1'

r = requests.get(url,headers=headers)
print(r.request.headers)
